import numpy as np

if __name__ == "__main__":
    A = np.array([[3,4,2],[5,3,4],[8,2,7]])
    B = np.array([[10],[14],[20]])
    A = np.linalg.inv(A)
    x = np.matmul(A,B)
    x = x.astype(np.int8)
    print(x)
    pass